﻿using System;
using System.Collections.Generic;

namespace StyleMVVM.Module
{
	/// <summary>
	/// Objects that implement and export this interface will be created at startup and it's Initialize method will be called
	/// </summary>
	public interface IModule
	{
		/// <summary>
		/// After creation this method will be called. It is intended that you do any intialization you need and you can return a list
		/// of Uri's that will be loaded as Resource dictionaries and Merged into the Application resources.
		/// Note: In none XAML apps nothing is done with the URI
		/// </summary>
		/// <returns>list of resources to load into the application</returns>
		IEnumerable<Uri> Initialize();
	}
}